<div class="search-boxes p3">
<form method="get" class="row form" >
  {% if request.user.is_superuser %}
  <div class="col-sm">
    <div class="input-group">
      <select class="custom-select" id="inputGroupSelect04" aria-label="Example select with button addon" name="admin_user" >
        <option selected value=''>跟进老师</option>
     {% for user in admin_user %}
         <option value="{{ user.id }}">{{ user.last_name }}{{ user.first_name }}</option>
     {% endfor %}
       </select>
    </div>
  </div>
  {% endif %}
  <div class="col-sm"> {#线索渠道#}
    <div class="input-group">
      <input class="form-control"  name="username" placeholder="客户名称">
    </div>
  </div>
  <div class="col-sm">
    <div class="input-group">
      <input class="form-control"  name="tel" value="{{ search_tel }}" placeholder="输入客户电话">
    </div>
  </div>
  <div class="col-sm">
    <div class="input-group">
      <select class="custom-select"  aria-label="Example select with button addon" name="tg_qudao" placeholder="线索渠道">
        <option selected value=''>线索渠道</option>
         {% for qd in tudao_list %}
         <option value="{{ qd.id }}">{{ qd.name }}-{{ qd.tg_leixing }}</option>
         {% endfor %}
       </select>
    </div>
  </div>
  <div class="col-sm">
    <div class="input-group">
      <input type="month" class="form-control" placeholder="录入月份" name="yuefen">
    </div>
  </div>
  <div class="col-sm">
  <button class="btn btn-success" type="submit">搜索</button>
  <a class="btn btn-primary"  href="{% url 'kehu_list' %}">清空选项</a>
      </div>
</form>
</div>
